import { axios } from '@/utils/http/request'
import { makeFormData } from '@/utils/util'

const api = {
  videoUpload: '/oss/video/upload'
}

// 获取用户列表
export function videoUpload (data) {
  const formData = new FormData()
  makeFormData(data, formData)
  return axios({
    url: api.videoUpload,
    method: 'post',
    data: formData
  })
}
